﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KidsProtector.BusinessManagement
{
    public class Site
    {
        private DataAccess.Site Access;

        public Site()
        {
            Access = new DataAccess.Site();
        }

        public bool CreateSite(DataAccess.T_Site site)
        {
            return Access.CreateSite(site);
        }

        public int Getmoy(long idSite)
        {
            return Access.GetMoy(idSite);
        }
        public DataAccess.T_Site GetSite(long idSite)
        {
            return Access.GetSite(idSite);
        }
        public DataAccess.T_Site GetSite(string site)
        {
            return Access.GetSite(site);
        }
        public bool UpdateMoy(long idSite)
        {
            return Access.UpdateMoy(idSite);
        }
    }
}